home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / RIncludes / Processes.r < prev    next >
Encoding:
Text File  |  1997-08-12  |  3.3 KB  |  87 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Processes.r
  3.  
  4.      Contains:    Process Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1989-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __PROCESSES_R__
  20. #define __PROCESSES_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26.  
  27. /*----------------------------SIZE • MultiFinder Size Information-----------------------*/
  28. #define    ignoreAppDiedEvents            ignoreChildDiedEvents
  29. #define    acceptAppDiedEvents            acceptChildDiedEvents
  30. #define    needsActivateOnFGSwitch        notMultiFinderAware            /* for compatibility    */
  31. #define    doesActivateOnFGSwitch        multiFinderAware            /* for compatibility    */
  32. #define    dontSaveScreen                reserved                    /* for compatibility    */
  33. #define    saveScreen                    true                        /* for compatibility    */
  34. #define    enableOptionSwitch            reserved                    /* for compatibility    */
  35. #define    disableOptionSwitch            true                        /* for compatibility    */
  36.  
  37. #undef reserved
  38. type 'SIZE' {
  39.         boolean                    reserved;
  40.         boolean                 ignoreSuspendResumeEvents,        /* suspend-resume        */
  41.                                 acceptSuspendResumeEvents;
  42.         boolean                    reserved;
  43.         boolean                    cannotBackground,
  44.                                 canBackground;                    /* Can properly use back-
  45.                                                                    ground null events    */
  46.         boolean                    needsActivateOnFGSwitch,        /* activate/deactivate    */
  47.                                 doesActivateOnFGSwitch;            /* on resume/suspend    */
  48.         boolean                    backgroundAndForeground,        /* Application does not    */
  49.                                 onlyBackground;                    /* have a user interface*/
  50.         boolean                    dontGetFrontClicks,                /* Get mouse down/up    */
  51.                                 getFrontClicks;                    /* when suspended        */
  52.         boolean                    ignoreAppDiedEvents,            /* Apps use this.        */
  53.                                 acceptAppDiedEvents;            /* Debuggers use this.    */
  54.         boolean                    not32BitCompatible,                /* Works with 24bit addr*/
  55.                                 is32BitCompatible;                /* Works with 24 or 32    */
  56.                                                                 /* bit addresses        */
  57. /* next four bits are new for system 7.0 */
  58.         boolean                    notHighLevelEventAware,
  59.                                 isHighLevelEventAware;            /* does Post/AcceptHighLevelEvent */
  60.         boolean                    onlyLocalHLEvents,                /* paranoid users' flag */
  61.                                 localAndRemoteHLEvents;
  62.         boolean                    notStationeryAware,                /* checks stationery bit */
  63.                                 isStationeryAware;                /* when opening documents */
  64.         boolean                    dontUseTextEditServices,        /* can use text services */
  65.                                 useTextEditServices;            /* through TextEdit.     */
  66.  
  67.         boolean                    reserved;                        /* These 3 bits are     */
  68.         boolean                    reserved;                        /* reserved.  Set them    */
  69.         boolean                    reserved;                        /* to "reserved". When    */
  70.                                                                 /* we decide to define    */
  71.                                                                 /* a new flag, your        */
  72.                                                                 /* old resource will     */
  73.                                                                 /* still compile.        */
  74.  
  75.         /* Memory sizes are in bytes */
  76.         unsigned longint;                                        /* preferred mem size    */
  77.         unsigned longint;                                        /* minimum mem size        */
  78.  
  79.         // If we ever define one of the four reserved bits above, the "reserved"
  80.         // enumeration wouldn't appear on the newly defined bit.  By defining "reserved"
  81.         // below, old resource SIZE declarations will still compile.
  82. #define    reserved        false
  83. };
  84.  
  85. #endif /* __PROCESSES_R__ */
  86.  
  87.